package com.atmc.feign.Impl;

import com.atmc.entity.ResponseResult;
import com.atmc.entity.User;
import com.atmc.feign.GlobalFeignService;
import com.sun.deploy.security.BlockedException;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: SpringCloud1216
 * @BelongsPackage: com.com.atmc.feign.Impl
 * @Author: chuyings
 * @CreateTime: 2022-11-05  14:25
 * @Version: 1.0
 */
@Component
public class GlobalFeignServiceImpl implements GlobalFeignService {

    @Override
    public User selectOne(String userName) {
        return null;
    }

    @Override
    public User userselectById(Long user_id) {
        return null;
    }

    @Override
    public ResponseResult test() {
        return new ResponseResult(400,"服务降级");
    }

}
